package com.naire.modul.answer.dao;

import java.util.List;

import net.common.service.PageBean;
import com.naire.modul.answer.vo.AnswerVo;

public interface AnswerDao {

	public List<AnswerVo> search(PageBean pageBean, String parent_code) throws Exception;
	
	public void insert(AnswerVo bean) throws Exception;
	
	public void update(AnswerVo bean) throws Exception;
	
	public void updateFlag(AnswerVo bean) throws Exception;
	
	public AnswerVo find(Integer id) throws Exception;
	
	public List<AnswerVo> searchAll(PageBean pageBean, String parent_code) throws Exception;
}
